package name.fowler.refactoring.simplestore.domain.pricecode;

import javax.persistence.Entity;
import javax.persistence.NamedQuery;

import name.fowler.refactoring.simplestore.Calculator;
import name.fowler.refactoring.simplestore.domain.JPAEntity;

@Entity
@NamedQuery(name="PriceCode.findAll", query="SELECT pc FROM PriceCode pc")
public abstract class PriceCode extends JPAEntity {
	public String name;
	public abstract void accept(Calculator v);
}
